package com.traffic.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hongyue Wang
 * @since 2017-04-21
 */
@TableName("ec_area")
public class EcArea extends Model<EcArea> {

    private static final long serialVersionUID = 1L;

    @TableId("area_id")
	private Integer areaId;
	@TableField("PARENT_AREA_ID")
	private Integer parentAreaId;
	@TableField("IS_LEAF")
	private String isLeaf;
	@TableField("FULL_INDEX")
	private String fullIndex;
	@TableField("AREA_LEVEL")
	private Integer areaLevel;
	@TableField("AREA_NO")
	private String areaNo;
	@TableField("AREA_ORDER")
	private Integer areaOrder;
	@TableField("AREA_NAME")
	private String areaName;
	@TableField("AREA_POST")
	private Integer areaPost;
	@TableField("AREA_NOTES")
	private String areaNotes;
	@TableField("IS_DELETE")
	private String isDelete;
	@TableField("ADD_TIME")
	private String addTime;
	@TableField("ADD_USER_ID")
	private Integer addUserId;
	@TableField("EDIT_TIME")
	private String editTime;
	@TableField("EDIT_USER_ID")
	private Integer editUserId;
	@TableField("IS_ALLOW_HDFK")
	private String isAllowHdfk;
	@TableField("TB_NO")
	private String tbNo;


	public Integer getAreaId() {
		return areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public Integer getParentAreaId() {
		return parentAreaId;
	}

	public void setParentAreaId(Integer parentAreaId) {
		this.parentAreaId = parentAreaId;
	}

	public String getIsLeaf() {
		return isLeaf;
	}

	public void setIsLeaf(String isLeaf) {
		this.isLeaf = isLeaf;
	}

	public String getFullIndex() {
		return fullIndex;
	}

	public void setFullIndex(String fullIndex) {
		this.fullIndex = fullIndex;
	}

	public Integer getAreaLevel() {
		return areaLevel;
	}

	public void setAreaLevel(Integer areaLevel) {
		this.areaLevel = areaLevel;
	}

	public String getAreaNo() {
		return areaNo;
	}

	public void setAreaNo(String areaNo) {
		this.areaNo = areaNo;
	}

	public Integer getAreaOrder() {
		return areaOrder;
	}

	public void setAreaOrder(Integer areaOrder) {
		this.areaOrder = areaOrder;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Integer getAreaPost() {
		return areaPost;
	}

	public void setAreaPost(Integer areaPost) {
		this.areaPost = areaPost;
	}

	public String getAreaNotes() {
		return areaNotes;
	}

	public void setAreaNotes(String areaNotes) {
		this.areaNotes = areaNotes;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	public Integer getAddUserId() {
		return addUserId;
	}

	public void setAddUserId(Integer addUserId) {
		this.addUserId = addUserId;
	}

	public String getEditTime() {
		return editTime;
	}

	public void setEditTime(String editTime) {
		this.editTime = editTime;
	}

	public Integer getEditUserId() {
		return editUserId;
	}

	public void setEditUserId(Integer editUserId) {
		this.editUserId = editUserId;
	}

	public String getIsAllowHdfk() {
		return isAllowHdfk;
	}

	public void setIsAllowHdfk(String isAllowHdfk) {
		this.isAllowHdfk = isAllowHdfk;
	}

	public String getTbNo() {
		return tbNo;
	}

	public void setTbNo(String tbNo) {
		this.tbNo = tbNo;
	}

	@Override
	protected Serializable pkVal() {
		return this.areaId;
	}

}
